--[[ door_style_wood = { -- name, desc
				{"door_wood", "Wooden Door"}, {"door_iceage", "IceAge: Wooden Door"}, 
				{"door_phiwari", "Phiwari: Wooden Door"}, 
				{"door_barn_1", "Barn Door 1"}, {"door_barn_2", "Barn Door 2"}, 
				{"door_castle_1", "Castle Door 1"}, {"door_castle_2", "Castle Door 2"},
				{"door_cottage_1", "Cottage Door 1"}, {"door_cottage_2", "Cottage Door 2"},
				{"door_dungeon_1", "Dungeon Door 1"}, {"door_dungeon_2", "Dungeon Door 2"},
				{"door_french", "French Door"}, {"door_japanese", "Japanese Door"}, 
				{"door_mansion_1", "Mansion Door 1"}, {"door_mansion_2", "Mansion Door 2"},
				{"door_woodglass_1", "Wooden Glass Door 1"}, {"door_woodglass_2", "Wooden Glass Door 2"}, 
				{"door_woodpanel_1", "Wooden Panel Door"} 
				} 
]]

minetest.register_craft({
		output = "doors:door_wood",
		recipe = {
					{"group:wood","group:wood",""},
					{"group:wood","group:wood",""},
					{"group:wood","group:wood",""}
		}
	})

minetest.register_craft({
		output = "doors:door_iceage",
		recipe = {
					{"group:wood","default:iron_lump",""},
					{"group:wood","group:wood",""},
					{"group:wood","group:wood",""}
		}
	})
	
minetest.register_craft({
		output = "doors:door_phiwari",
		recipe = {
					{"group:wood","default:obsidian_glass",""},
					{"group:wood","group:wood",""},
					{"group:wood","group:wood",""}
		}
	})

minetest.register_craft({
		output = "doors:door_barn_1",
		recipe = {
					{"group:wood","group:wood","group:wood"},
					{"default:stick","default:stick","default:stick"},
					{"group:wood","group:wood","group:wood"}
		}
	})

minetest.register_craft({
		output = "doors:door_barn_2",
		recipe = {
					{"group:wood","group:wood","group:wood"},
					{"darkage:iron_stick","darkage:iron_stick","darkage:iron_stick"},
					{"group:wood","group:wood","group:wood"}
		}
	})
	
minetest.register_craft({
		output = "doors:door_castle_1",
		recipe = {
					{"default:stick","group:wood","group:wood"},
					{"","group:wood","group:wood"},
					{"default:stick","group:wood","group:wood"}
		}
	})	
	
minetest.register_craft({
		output = "doors:door_castle_2",
		recipe = {
					{"darkage:iron_stick","group:wood","group:wood"},
					{"","group:wood","group:wood"},
					{"darkage:iron_stick","group:wood","group:wood"}
		}
	})

minetest.register_craft({
		output = "doors:door_cottage_1",
		recipe = {
					{"group:wood","group:wood",""},
					{"default:stick","default:stick",""},
					{"group:wood","group:wood",""}
		}
	})
	
minetest.register_craft({
		output = "doors:door_cottage_2",
		recipe = {
					{"default:glass","default:glass",""},
					{"default:stick","default:stick",""},
					{"group:wood","group:wood",""}
		}
	})
	
minetest.register_craft({
		output = "doors:door_dungeon_1",
		recipe = {
					{"pigiron:iron_ingot","darkage:iron_stick","pigiron:iron_ingot"},
					{"darkage:iron_stick","darkage:iron_stick","darkage:iron_stick"},
					{"pigiron:iron_ingot","darkage:iron_stick","pigiron:iron_ingot"}
		}
	})
	
minetest.register_craft({
		output = "doors:door_dungeon_2",
		recipe = {
					{"darkage:iron_stick","darkage:iron_stick","darkage:iron_stick"},
					{"pigiron:iron_ingot","pigiron:iron_ingot","pigiron:iron_ingot"},
					{"pigiron:iron_ingot","pigiron:iron_ingot","pigiron:iron_ingot"}
		}
	})
	
minetest.register_craft({
		output = "doors:door_french",
		recipe = {
					{"default:glass","group:wood","default:stick"},
					{"default:glass","group:wood","default:stick"},
					{"default:glass","group:wood","default:stick"}
		}
	})
	
minetest.register_craft({
		output = "doors:door_japanese",
		recipe = {
					{"default:paper","group:wood","default:stick"},
					{"default:paper","group:wood","default:stick"},
					{"default:paper","group:wood","default:stick"}
		}
	})
	
minetest.register_craft({
		output = "doors:door_mansion_1",
		recipe = {
					{"group:wood","group:wood","dye:white"},
					{"group:wood","group:wood","dye:yellow"},
					{"group:wood","group:wood","dye:white"}
		}
	})
	
minetest.register_craft({
		output = "doors:door_mansion_2",
		recipe = {
					{"group:wood","group:wood","dye:black"},
					{"group:wood","group:wood","dye:yellow"},
					{"group:wood","group:wood","dye:black"}
		}
	})							

minetest.register_craft({
		output = "doors:door_woodglass_1",
		recipe = {
					{"default:glass","default:glass","default:stick"},
					{"group:wood","group:wood",""},
					{"group:wood","group:wood",""}
		}
	})

minetest.register_craft({
		output = "doors:door_woodglass_2",
		recipe = {
					{"default:glass","default:glass","default:stick"},
					{"group:wood","group:wood","default:stick"},
					{"group:wood","group:wood",""}
		}
	})

minetest.register_craft({
		output = "doors:door_woodpanel_1",
		recipe = {
					{"group:wood","group:wood","default:stick"},
					{"group:wood","group:wood","default:stick"},
					{"group:wood","group:wood","default:stick"}
		}
	})

-- door_style_metal = "door_steel", "door_steelglass_1", "door_steelglass_2", "door_steelpanel_1"

minetest.register_craft({
		output = "doors:door_steel",
		recipe = {
					{"default:steel_ingot","default:steel_ingot",""},
					{"default:steel_ingot","default:steel_ingot",""},
					{"default:steel_ingot","default:steel_ingot",""}
		}
	})

minetest.register_craft({
		output = "doors:door_steelglass_1",
		recipe = {
					{"default:glass","default:glass","darkage:iron_stick"},
					{"default:steel_ingot","default:steel_ingot",""},
					{"default:steel_ingot","default:steel_ingot",""}
		}
	})

minetest.register_craft({
		output = "doors:door_steelglass_2",
		recipe = {
					{"default:glass","default:glass","darkage:iron_stick"},
					{"default:steel_ingot","default:steel_ingot",""},
					{"default:steel_ingot","default:steel_ingot",""}
		}
	})

minetest.register_craft({
		output = "doors:door_steelpanel_1",
		recipe = {
					{"default:steel_ingot","default:steel_ingot","darkage:iron_stick"},
					{"default:steel_ingot","default:steel_ingot","darkage:iron_stick"},
					{"default:steel_ingot","default:steel_ingot","darkage:iron_stick"}
		}
	})
	
-- door_style_glass = "door_glass", "door_obsidianglass"

minetest.register_craft({
		output = "doors:door_glass",
		recipe = {
					{"default:glass","default:glass",""},
					{"default:glass","default:glass",""},
					{"default:glass","default:glass",""}
		}
	})
	
minetest.register_craft({
		output = "doors:door_obsidianglass",
		recipe = {
					{"default:obsidian_glass","default:obsidian_glass",""},
					{"default:obsidian_glass","default:obsidian_glass",""},
					{"default:obsidian_glass","default:obsidian_glass",""}
		}
	})	